#ifndef _ZFONT_H_
#define _ZFONT_H_


enum FONTALIGNMENT
{ 
	FA_LEFT, FA_CENTER, FA_RIGHT, FA_TOPRIGHT, FA_TOPLEFT, FA_BOTTOMRIGHT, FA_BOTTOMLEFT
};


class Font
{
private:
	LPD3DXFONT			m_pFont;
	LPD3DXSPRITE		m_pSprite;
	LPDIRECT3DDEVICE9	m_pd3dDevice;

public:
	Font();
	virtual ~Font();

	VOID Initialize( LPDIRECT3DDEVICE9 pd3dDevice );

	VOID Release();

	VOID Print( LPCWSTR text, INT xPosition, INT yPosition, DWORD color, INT textBoxWidth, INT textBoxHeight, FONTALIGNMENT alignment );
};



#endif